package com.china.springServer.task;

import org.springframework.stereotype.Service;

import java.util.concurrent.Callable;

/**
 * @fileName: Task01
 * @author: LmR
 * @createDate: 2023/10/22 10:09
 * @Desc:
 */
@Service
public class MyTask02 implements Callable<String> {
    @Override
    public String call() throws Exception {
        System.out.println("start execute my-task02");
        Thread.sleep(5000);
        return "my-task02 completed!!";
    }
}
